<?php
// +----------------------------------------------------------------------
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
// +----------------------------------------------------------------------
// | Copyright (c) 2006~2018 http://thinkphp.cn All rights reserved.
// +----------------------------------------------------------------------
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
// +----------------------------------------------------------------------
// | Author: liu21st <liu21st@gmail.com>
// +----------------------------------------------------------------------

use think\facade\Route;
Route::get('/','Index/index');
//单页
Route::get('/about','Index/about');
Route::get('/contact','Index/contact');
Route::get('/privacy','Index/privacy');
Route::get('/agreement','Index/agreement');
Route::get('/mz','Index/mz');
Route::get('/sponsor','Index/sponsor');
Route::get('/geo','Index/gg');
Route::get('/bmi','Index/bmi');
Route::get('/getup/:id','Index/up');

//内容详情
Route::get('/post/:id','Index/detail')->pattern(['id'=>'\d+']);
Route::get('/posts/:id','Index/posts')->pattern(['id'=>'\d+']);

Route::get('/hy/:id','CompanyPage/show')->pattern(['id'=>'\d+']);